package cn.getech.data.metadata.service.impl;

import cn.getech.data.metadata.entity.meta.CollectionTableField;
import cn.getech.data.metadata.entity.meta.CollectionTableFieldExample;
import cn.getech.data.metadata.mapper.CollectionTableFieldMapper;
import cn.getech.data.metadata.service.CollectionTableFieldService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CollectionTableFieldServiceImpl extends ServiceImpl<CollectionTableFieldMapper, CollectionTableField> implements CollectionTableFieldService {

    @Override
    public long countByExample(CollectionTableFieldExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(CollectionTableFieldExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<CollectionTableField> selectByExample(CollectionTableFieldExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(CollectionTableField record,CollectionTableFieldExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(CollectionTableField record,CollectionTableFieldExample example) {
        return baseMapper.updateByExample(record,example);
    }
    @Override
    public int updateBatch(List<CollectionTableField> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int batchInsert(List<CollectionTableField> list) {
        return baseMapper.batchInsert(list);
    }
    @Override
    public int insertOrUpdate(CollectionTableField record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(CollectionTableField record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
